package com.sangmo.boot.auth.core.handlers;

import com.sangmo.boot.auth.core.interfaces.GrantTokenRequest;
import com.sangmo.boot.auth.core.interfaces.GrantTokenResponse;
import com.sangmo.boot.auth.core.interfaces.ValidateTokenRequest;
import com.sangmo.boot.framework.common.session.UserSession;

public interface AuthorizeHandler {
	GrantTokenResponse grant(GrantTokenRequest req);
	UserSession.Authorize<?> validate(ValidateTokenRequest req);
}
